namespace SimpleWebServices.Web
{
    public static class IResourceExtensionMethods
    {
        public static T ApplyDefaultValues<T>(this T resource)
            where T : IResource
        {
            DefaultResource.CopyTo(resource);

            return resource;
        }
    }
}